package com.jy.admin.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.jy.admin.db.dao.CePushLogDao;
import com.jy.admin.db.entity.CePushLogEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
* User: anonymous
* Date: 2022-01-05
* Time: 17:58:54.468
*/

@Repository
public class CePushLogDaoImpl extends AbstractBaseMapper<CePushLogEntity> implements CePushLogDao {

    @Override
    public CePushLogEntity selectByCollectionNo(String collectionNo) {
        Map<String, Object> params = new HashMap<>();
        params.put("collectionNo", collectionNo);
        return getSqlSession().selectOne(this.getStatement("selectByCollectionNo"), params);
    }
}